.container {
  .search-box {
    .layui-form-select dl dd.layui-this {
      color: yellow;
    }
  }

  .shop-box {
    display: flex;

    .shop-left {
      margin-right: 50px;

      .item {
        width: fit-content;
        padding: 10px;
        cursor: pointer;
      }

      .active {
        background: red;
      }
    }

    .shop-right {
      flex: 1;

      .goods-list {
        display: flex;
        flex-wrap: wrap;
        width: 100%;

        .shop-item {
          width: calc((100% - 30px) / 4);
          box-sizing: border-box;
          padding: 10px;
          border: 1px solid red;
          cursor: pointer;
          height: 400px;
          margin-top: 10px;
          margin-right: 10px;

          // 选中前3个元素
          &:nth-child(-n + 4) {
            margin-top: 0;
          }

          &:nth-child(4n) {
            margin-right: 0;
          }
        }
      }
    }
  }
}

.bg-vs {
  position: fixed;
  inset: 0;
  background: rgba(22, 30, 41, 0.6);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;



  .vs-box {
    width: 800px;
    height: 850px;
    overflow: hidden;

    .header {
      display: flex;
      justify-content: center;
      align-items: center;
      background: #fff;
      height: 50px;
    }

    .content {
      height: 800px;
      width: 100%;
      overflow-y: scroll;
      overflow-x: hidden;
      display: flex;
      box-sizing: border-box;
      cursor: pointer;
      border: 1px solid rgb(136, 136, 136);
      border-bottom: none;

      &::-webkit-scrollbar {
        display: none;
      }

      .left {
        width: 100px;
        height: max-content;
        box-sizing: border-box;

        .row {
          border-bottom: 1px solid rgb(136, 136, 136);
          border-right: 1px solid rgb(136, 136, 136);
          display: flex;
          justify-content: center;
          align-items: center;
          box-sizing: border-box;
        }
      }

      .right {
        overflow-x: auto;
        overflow-y: hidden;
        height: max-content;
        box-sizing: border-box;
        max-width: calc(100% - 100px);


        &::-webkit-scrollbar {
          display: none;
        }


        .row {
          display: flex;
          width: 100%;

          .item {
            min-width: 200px;
            display: flex;
            align-items: center;
            box-sizing: border-box;
            padding: 0 10px;
            border-left: 1px solid rgb(136, 136, 136);
            border-bottom: 1px solid rgb(136, 136, 136);

            img {
              width: 100px;
              height: 100px;
            }
          }
        }

      }

    }
  }
}


.bg-detail {
  position: fixed;
  inset: 0;
  background: rgba(22, 30, 41, 0.6);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;



  .masking-box {
    width: 1280px;
    position: relative;

    .close {
      position: absolute;
      right: -50px;
      cursor: pointer;
    }

    .detail {
      display: flex;
      height: 800px;

      //   box-sizing: border-box;
      .left {
        flex: 1;
        border: 1px solid #fff;

        .left-top {
          height: 50px;
        }

        .left-center {
          border-bottom: 1px solid #fff;
          border-top: 1px solid #fff;
          height: calc(100% - 100px);
        }

        .left-bottom {
          height: 50px;
        }
      }

      .right {
        margin-left: 20px;
        flex: 1;
        border: 1px solid #fff;
      }
    }

    .footer {
      height: 200px;
      margin-top: 20px;
      border: 1px solid #fff;
      overflow: hidden;

      .swiper {
        width: 100%;
        position: relative;
        // height: 300px;
        height: 100%;

        .swiper-pagination-bullet-active {
          background-color: red;
        }
      }
    }

    .video-box {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 600px;
      height: 400px;
      background: #fff;

      .video-content {
        position: relative;
        width: 100%;
        height: 100%;

        .video-close {
          position: absolute;
          right: -50px;
          top: 0px;
          cursor: pointer;
        }
      }
    }

  }
}